clear
Ts = 2e-5;
Ts_motor = 1e-5;
%% motor 3: 4.5kw
m3 = struct();
m3.Lls = 0.005893*2;
m3.Rs =1.405;
m3.Llr = 0.005839*2;
m3.Rr = 1.395;
m3.Lm = 0.1722;
m3.Ls = m3.Lm+m3.Lls;
m3.Lr = m3.Lm+m3.Llr;

m3.J = 0.0131;
m3.F = 0.002985;
m3.pole = 2;

m3.Pb = 4e3;
m3.Ub = 400/sqrt(1.5);
m3.Ib = 2/3*m3.Pb/m3.Ub;
m3.Wb = 100*pi;
m3.Zb = m3.Ub/m3.Ib;
m3.Lb = m3.Zb/m3.Wb;
m3.psib = m3.Ub/m3.Wb;
m3.Jb = m3.Pb*m3.pole^2/m3.Wb^3;
m3.Fb = m3.Pb*m3.pole^2/m3.Wb^2;

%%
m3.irMax = 30;
m3.ksigma = 1-m3.Lm^2/m3.Ls/m3.Lr;
m3.ksigma*m3.Ls/m3.Lb;


